package cn.swust.designpatternlearningplatform.service;

import cn.swust.designpatternlearningplatform.domain.dto.StudentAllTypeTopicNumberDto;
import cn.swust.designpatternlearningplatform.domain.dto.StudentPersonInformationDto;
import cn.swust.designpatternlearningplatform.domain.dto.StudentPieChartDataDto;
import cn.swust.designpatternlearningplatform.domain.entity.Student;

import java.time.LocalDate;
import java.util.Map;

public interface StudentService {

    Student getStudentByNumber(String number);

    StudentPersonInformationDto getStudentInformation(String studentNumber);

    //String uploadHead(File file, MultipartFile avatar, String studentNumber, String url);

    String getHeadPortrait(String studentNumber);

    Map<LocalDate, Long> QueryNumber(String studentNumber);

    StudentAllTypeTopicNumberDto getAllTypeTopicNumber(String studentNumber);

    StudentPieChartDataDto getPieChartData(String studentNumber);

    String uploadHead(String studentNumber,String url);

    String getStudentName(String studentNumber);
}
